package com.woniu.cq.ribbon;

import com.netflix.loadbalancer.IRule;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @author Daniel
 * @version 1.0.0
 * @ClassName RibbonConfig
 * @Description TODO
 * @createTime 2020年09月17日 17:46:00
 */
@Configuration
public class RibbonConfig {
    @Bean
    public IRule createRule() {
        return new WeightConfig();
    }
}
